// 该模块用于封装请求接口
import request from '@/utils/request'
export const reqLogin = (data) => {
  return request.post('/sys/login', data)
}

export const reqUserInfo = () => {
  return request.post('/sys/profile')
}

export const reqAvatar = (id) => {
  return request.get(`/sys/user/${id}`)
}
